async function scheduleTimer({ providerRes, parserRes } = {}) {
    let maxWeek = 0
    if (window.ltxhhz) {
        ltxhhz.frameDom.querySelectorAll('font').forEach(e => {
            try {
                if (e.title.includes('周次')) {
                    let n = /\d+/.exec(e.innerText)[0]
                    maxWeek = Math.max(+n, maxWeek)
                }
            } catch (error) {
                console.error('获取最大周出错,当前值为 ' + maxWeek, error)
            }
        })
    }

    if (maxWeek === 0) {
        maxWeek = 20
    }

    return {
        startSemester: '2025-09-01', // 字符串类型，必须加
        totalWeek: maxWeek,
        startWithSunday: false,
        showWeekend: true,
        forenoon: 4,   // 上午 4 节
        afternoon: 4,  // 下午 4 节
        night: 3,      // 晚上 3 节
        sections: [
            { section: 1, startTime: '08:20', endTime: '09:05' },
            { section: 2, startTime: '09:10', endTime: '09:55' },
            { section: 3, startTime: '10:15', endTime: '11:00' },
            { section: 4, startTime: '11:00', endTime: '11:45' },
            { section: 5, startTime: '14:20', endTime: '15:05' },
            { section: 6, startTime: '15:10', endTime: '15:55' },
            { section: 7, startTime: '16:10', endTime: '16:55' },
            { section: 8, startTime: '17:00', endTime: '17:45' },
            { section: 9, startTime: '19:00', endTime: '19:45' },
            { section: 10, startTime: '19:50', endTime: '20:35' },
            { section: 11, startTime: '20:40', endTime: '21:25' }
        ]
    }
}
